feat(cues): client.cues.fire(send_at=...) (hosted PR #618 port)#30
Open
mikemolinet wants to merge 1 commit intomainfrom
Open
feat(cues): client.cues.fire(send_at=...) (hosted PR #618 port)#30mikemolinet wants to merge 1 commit intomainfrom
mikemolinet wants to merge 1 commit intomainfrom
Conversation
Adds optional `send_at` kwarg to `client.cues.fire()` for per-fire scheduling. Server-side FireRequest gained `send_at: Optional[datetime]` in #618; the dispatcher gates on dispatch_outbox.scheduled_at. Past timestamps are forgiving (server treats as 'fire now', idempotent — no error for a few-ms-late caller). Tests: 3 new (4 → 7 in TestFire). Pinned: send_at omitted from body when default None; combines correctly with payload_override + merge_strategy. Depends on cueapi/cueapi#618 merging to staging then prod for user-visible behavior. PR can merge independently — sending an unknown send_at field against an old server is silently ignored (Pydantic extra='ignore' default on FireRequest). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This was referenced May 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Parity port for hosted cueapi/cueapi#618. Adds optional
send_atkwarg toclient.cues.fire()for per-fire scheduling.Behavior
dispatch_outbox.scheduled_at <= now(). Past timestamps are forgiving (server treats as 'fire now' — idempotent, no error).FireRequest.send_atisOptional[datetime]; Pydantic parses ISO strings cleanly.Tests
3 new (4 → 7 in TestFire). Pinned:
None(nonullleakage)Depends on
cueapi/cueapi#618 merging to staging → prod for user-visible behavior. PR can merge independently — sending an unknown
send_atfield against an old server is silently ignored.Companion
cueapi-cli parity PR ships the same surface as
cueapi fire --send-at.🤖 Generated with Claude Code